package com.easyOrder.core.exception.api;

import com.easyOrder.core.exception.ApplicationException;
import com.easyOrder.core.exception.ApplicationErrorCode;

/**
 * Created by yanbin on 2017/1/10.
 */
public class LockException extends ApplicationException {

    public LockException() {
        super(ApplicationErrorCode.LockError.getCode(), ApplicationErrorCode.LockError.getReasoning());
    }

    public LockException(Exception e) {
        super(ApplicationErrorCode.LockError.getCode(), e.getMessage());
    }
}
